#ifndef QMEMERYADDDIALOG_H
#define QMEMERYADDDIALOG_H

#include "../qbasedialog.h"
#include <QMap>

class QAbstractProperty;

namespace Ui {
class QMemeryAddDialog;
}

class QMemeryAddDialog : public QBaseDialog
{
    Q_OBJECT
    
public:
    explicit QMemeryAddDialog(QAbstractProperty* property,QWidget *parent = 0);
    ~QMemeryAddDialog();
    
    QString get_property();
    QString get_data();

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::QMemeryAddDialog *ui;

    QString m_property;
    QString m_data;

    QMap<QString,QString>   m_name_to_property;
    QMap<QString,QString>   m_name_to_data;
};

#endif // QMEMERYADDDIALOG_H
